projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8952f8
)
(send_process): Test pty_flag field for nil, not 0.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 12 Apr 1994 04:39:34 +0000
(
04:39
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 12 Apr 1994 04:39:34 +0000
(
04:39
+0000)
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index d81b7c9fbab7889ba2a3760142413a2a4e32eec8..971d2cba71bdac49e0690c960524a2ef85ce7235 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-2289,7
+2289,7
@@
send_process (proc, buf, len)
/* Don't send more than pty_max_bytes bytes at a time. */
/* Subtract 1 to leave room for the EOF. */
- if (this >= pty_max_bytes &&
XPROCESS (proc)->pty_flag != 0
)
+ if (this >= pty_max_bytes &&
!NILP (XPROCESS (proc)->pty_flag)
)
this = pty_max_bytes - 1;
old_sigpipe = (SIGTYPE (*) ()) signal (SIGPIPE, send_process_trap);